package com.jdk.demo.io.服务单和客户端互传对象以及io流顺序问题;

import java.io.Serializable;

public class UserInfo implements Serializable {

	/**
	 *
	 */
	private static final long serialVersionUID = -3081629764210699903L;
	private long id;
	private String username;
	private String password;

	@Override
	public String toString() {
		return "UserInfo [id=" + id + ", username=" + username + ", password=" + password + "]";
	}
	public UserInfo() {
		super();
	}
	public UserInfo(long id, String username, String password) {
		super();
		this.id = id;
		this.username = username;
		this.password = password;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}

}
